import Layout from '@/layout'

export default [
    {
        path: '/redirect',
        component: Layout,
        hidden: true,
        children: [
            {
                path: '/redirect/:path(.*)',
                component: () => import('@/views/redirect/index')
            }
        ]
    },
    {
        path: '/login',
        component: () => import('@/views/login/index'),
        meta: {
            title: '登录'
        },
        hidden: true
    },
    {
        path: '/sso/login',
        component: () => import('@/views/sso/index'),
        meta: {
            title: 'sso登录'
        },
        hidden: true
    },
    {
        path: '/404',
        component: () => import('@/views/error-page/404'),
        name: 'error404',
        hidden: true
    },
    {
        path: '/401',
        component: () => import('@/views/error-page/401'),
        hidden: true
    },
    {
        path: '/agreement',
        component: () => import('@/views/login/components/UserAgreement'),
        hidden: true
    }
]
